﻿using System.Collections.Generic;

namespace Microsoft.Extensions.Localization {
    /// <summary>
    /// <code>
    /// {"culture": "zh-Hans","texts": {"Localization.DefaultLanguage": "默认语言","Localization.DefaultLanguage": "应用程序的默认语言."}}
    /// </code>
    /// </summary>
    public class JsonLocalizationFile {
        /// <summary>
        /// Culture name; eg : en , en-us, zh-CN
        /// </summary>
        public string Culture { get; set; }
        public Dictionary<string,string> Texts { get; set; }
        public JsonLocalizationFile() {
            Texts = new Dictionary<string,string>();
        }
    }
}
